package com.tony.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by Tony on 2017/1/2.
 */
@Controller
public class HomeController {

    @RequestMapping(value = "/index",method = RequestMethod.GET)
    public  String index(){
        return "index";
    }
}
